package com.agent.action.service;

import com.agent.action.param.PractiseParam;
import com.agent.action.vo.PractiseVO;
import com.agent.action.vo.PractisesCatalogVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface PractiseService {
    public List<String> loadPhoto(MultipartFile[] files);

    public List<PractiseVO> loadPractise(PractiseParam practiseParam);

    public boolean containPractise(String practiseId);
    public List<PractisesCatalogVO> listPractisesCatalog(String userId);
    public boolean deletePractisesCatalog(String catalogId);

    public List<PractiseVO> getPractises(String practiseId);

    public boolean belongToUser(String practise);
}
